<?php
if (isset($news) && count($news) > 0) {
            $date = date('d/m/y', strtotime($news->created_date));
    $url = get_base_url() . url_title(trim($news->title), 'dash', TRUE) . '-' . $news->id;
    ?>
    <article>
        <h2><?php echo $news->title; ?></h2>
        <div class="date" style="color: #444"><?php echo __('IP_posted_date'); ?> : <strong style="color: #aaa;"><?php echo $date; ?></strong> | <strong style="color: #aaa;"><?php echo $news->viewed; ?></strong> <?php echo __('IP_viewed'); ?> </div>
        <?php
        echo $news->content;

        if (isset($lastest_news))
            echo $lastest_news;

        echo '<div style="clear:both;"></div>';

        if (isset($older_news))
            echo $older_news;
        ?>
    </article>
    <?php
}
?>